<ul data-role="listview" data-inset="true" class="offerban">

<?php         
if(!empty($offer)){
    foreach($offer as $offer)
    {
       echo '<li><a href="'.base_url().'mobile/login"  data-ajax="false" target=_blank>';
       echo '     <img src="'.$offer->img.'">';
       echo '     <h2>'.$offer->title.'</h2>';
       echo '     <p><b>'.$offer->point_rate.'</b><br/>';
       echo '     '.$offer->description.'</p></a>';
       echo ' </li>'; 
        
    }
    } 
?> 
    
</ul>
<style>
.offerban li a img{width:80px;height:80px;}
</style>